package com.sleep.psy.external_server.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author kyleju
 */
@Data
@ApiModel(description = "请求的包装类")
public class RequestFacade<T> implements Serializable {

    private static final long serialVersionUID = -3201705171057777245L;
    @ApiModelProperty(value = "用户凭证", example = "20289b40c7895f8a34b5c81ef58904497a6f9776936e2a0fcd73ec54a31a0fc2")
    private String token = null;
    @ApiModelProperty(value = "当前页", example = "1")
    private Integer pageNum = 1;
    @ApiModelProperty(value = "每页数量", example = "20")
    private Integer pageSize = 20;

    private T data;

}

